//////////////////////////////////////////////////////////////////////////
//	File: CImmolation.h
//
//	Author: Steven Seufert
//	Date:	January 13, 2012
//
//	Purpose: To define the Immolation class spell 
/////////////////////////////////////////////////////////////////////////

#ifndef	CIMMOLATION_H
#define CIMMOLATION_H

#include "CSpellBase.h"
#include "Messaging\IListener.h"

class CPlayer;

class CImmolation : public CSpellBase, public IListener
{
private:
	int		m_nSoundID;			// cast 
	float	m_fAccruedTime;		// How long since last draining mana from the player?
	float	m_fRate;			// How often do you drain mana from the player?
	int		m_fRadius;			// The radius of the effet
	// images 
	// animations
public:
	// constructor
	CImmolation();

	// destructor
	~CImmolation();

	void Cast(CPlayer* caster);

	void Update(float fElapsedTime);
	void Render(void);
	bool CheckCollision(IBaseInterface * pBase );

	void HandleEvent(CEvent* pEvent);
};
#endif